﻿<%@  Title="" Language="C#" MasterPageFile="~/Admin/ContentFrame.master" AutoEventWireup="true" CodeBehind="RoleSetPermissionActions.aspx.cs" Inherits="ETD.WebManagement.Admin.Account.RoleSetPermissionActions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager runat="server" ID="RadAjaxManagerDefault">
        <AjaxSettings>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    <div runat="server" id="PermissionActionGroupPanel">
    </div>

    <div class="edit_form_container width100">
        <div class="form_action_button width100">
            <telerik:RadButton ID="btnOk" runat="server" Text="确定" OnClick="btnOk_Click" Width="120px">
            </telerik:RadButton>
            &nbsp; &nbsp;           
                            <telerik:RadButton ID="btnCancel" runat="server" Text="取消" Width="120px"
                                AutoPostBack="false"
                                OnClientClicked="onBtnCancelClick">
                            </telerik:RadButton>
        </div>
    </div>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">

            var rolesPageUrl = '<%=ResolveClientUrl("/Admin/Account/Roles.aspx") %>';
            function onBtnCancelClick() {
                onCancelButtonConfirm(redirectToRolesPage);
            }
            function redirectToRolesPage(isConfirm) {
                if (isConfirm) {
                    onCloseRadWindowManagerDefaultProcessing(true);
                }
            }

            function redirectToRolesPage(isConfirm) {
                if (isConfirm) {
                    RedirectPage(rolesPageUrl);
                }
            }
            function saveRoleSetPermissionActionsCallback() {
                redirectToRolesPage(true);
            }
            $(document).ready(function () {

            });



        </script>

    </telerik:RadCodeBlock>
</asp:Content>


